

use "Regional Convergence.Krause & Zarit.dataset.dta"



egen medrincall = median(real_pc_inc_ann), by(year)

egen medrincnonsouth = median(real_pc_inc_ann) if nonsouth==1, by(year) 


egen medrincsouth = median(real_pc_inc_ann) if nonsouth==0, by(year) 

egen medrincnewsouth = median(real_pc_inc_ann) if newsouth==1, by(year) 

egen medrincoldsouth = median(real_pc_inc_ann) if oldsouth==1, by(year) 



*****CENSUS VERSION***


egen medrincnonsouth_census = median(real_pc_inc_ann) if nonsouth_census==1, by(year) 


egen medrincsouth_census = median(real_pc_inc_ann) if nonsouth_census==0, by(year) 


egen medrincnewsouth_census = median(real_pc_inc_ann) if newsouth_census==1, by(year) 


***CONFED VERSION***


egen medrincnonsouth_confed = median(real_pc_inc_ann) if nonsouth_confed==1, by(year) 


egen medrincsouth_confed = median(real_pc_inc_ann) if nonsouth_confed==0, by(year) 


egen medrincoldsouth_confed = median(real_pc_inc_ann) if oldsouth_confed==1, by(year) 


***Missouri***


egen medrincnonsouth_mo = median(real_pc_inc_ann) if nonsouth_mo==1, by(year) 


egen medrincsouth_mo = median(real_pc_inc_ann) if nonsouth_mo==0, by(year) 


egen medrincoldsouth_mo = median(real_pc_inc_ann) if oldsouth_mo==1, by(year) 


*** NON SOUTH CORRELATIONS***
cor medrincnonsouth medrincnonsouth_census medrincnonsouth_confed


cor medrincnonsouth medrincnonsouth_census medrincnonsouth_confed if year<1981


cor medrincnonsouth medrincnonsouth_census medrincnonsouth_confed if year>1980

*** SOUTH CORRELATIONS***
cor medrincsouth medrincsouth_census medrincsouth_confed

cor medrincsouth medrincsouth_census medrincsouth_confed if year<1981

cor medrincsouth medrincsouth_census medrincsouth_confed if year>1980


*** New South Correlation***

cor medrincnewsouth medrincnewsouth_census

cor medrincnewsouth medrincnewsouth_census if year<1981

cor medrincnewsouth medrincnewsouth_census if year>1980


*** Old South Correlation***

cor medrincoldsouth medrincoldsouth_confed

cor medrincoldsouth medrincoldsouth_confed if year<1981

cor medrincoldsouth medrincoldsouth_confed if year>1980



//FIGURE 1A




generate propnonsouthrinc = medrincnonsouth / medrincall
*
generate propsouthrinc = medrincsouth / medrincall
*
generate propoldsouthrinc = medrincoldsouth / medrincall
*
generate propnewsouthrinc = medrincnewsouth / medrincall



*********Census Classification******
generate propnonsouthrinc_census = medrincnonsouth_census / medrincall

generate propsouthrinc_census = medrincsouth_census / medrincall
*

*
generate propnewsouthrinc_census = medrincnewsouth_census / medrincall


**********Confederate classification******
generate propnonsouthrinc_confed = medrincnonsouth_confed / medrincall
*
generate propsouthrinc_confed = medrincsouth_confed / medrincall
*
generate propoldsouthrinc_confed = medrincoldsouth_confed / medrincall
*

****Misourri Classification***
generate propnonsouthrinc_mo = medrincnonsouth_mo / medrincall
*
generate propsouthrinc_mo = medrincsouth_mo / medrincall
*
generate propoldsouthrinc_mo = medrincoldsouth_mo / medrincall
*





twoway (tsline propnonsouthrinc if year>1941, lcolor(blue) lwidth(medthick)) (tsline propsouthrinc if year>1941, lcolor(maroon) lwidth(medthick)) (tsline propoldsouthrinc if year>1941, lcolor(midblue) lwidth(medthick) lpattern(shortdash)) (tsline propnewsouthrinc if year>1941, lcolor(orange) lwidth(medthick) lpattern(shortdash)), yline(1, lwidth(vvthick) lpattern(vshortdash) lcolor(ltblue)) ylabel(0.6(0.2)1.2) ymtick(, grid) xtitle(YEAR, height(6)) xlabel(1940(10)2010) title(FIGURE 1A) subtitle(Median Proportion of Real Per Capita State Personal Income By Region (1942 -2008), size(small)) note(Note: Median Proportion = 1.0 (All States)) legend(on) name(figure_1a, replace)

graph save figure_1a "C:\Users\mzarit\Dropbox\Development Cycles in the American States (Krause & Zarit)\Zarit Findings\Graphs\figure_1a.gph", replace





//FIGURE 1B

generate propnonsouthranney = medranneynonsouth / medranneyall
*
generate propsouthranney = medranneysouth / medranneyall
*
generate propoldsouthranney = medranneyoldsouth / medranneyall
*
generate propnewsouthranney = medranneynewsouth / medranneyall


twoway (tsline propnonsouthranney if year>1941, lcolor(blue) lwidth(medthick)) (tsline propsouthranney if year>1941, lcolor(maroon) lwidth(medthick)) (tsline propoldsouthranney if year>1941, lcolor(midblue) lwidth(medthick) lpattern(shortdash)) (tsline propnewsouthranney if year>1941, lcolor(orange) lwidth(medthick) lpattern(shortdash)), yline(1, lwidth(vvthick) lpattern(vshortdash) lcolor(ltblue)) ylabel(0(0.5)1.5) ymtick(, grid) xtitle(YEAR, height(6)) xlabel(1940(10)2010) title(FIGURE 1B) subtitle(Median Proportion of Partisan Legislative Balance in State Legislatures By Region, size(small)) note(Note: Median Proportion = 1.0 (All States)) legend(on) name(figure_1b, replace)


graph save figure_1b "C:\Users\mzarit\Dropbox\Development Cycles in the American States (Krause & Zarit)\Zarit Findings\Graphs\figure_1b.gph", replace



****Census Classifications***

generate propnonsouthranney_census = medranneynonsouth_census / medranneyall
*
generate propsouthranney_census = medranneysouth_census / medranneyall
*
*
generate propnewsouthranney_census = medranneynewsouth_census / medranneyall

***Confederacy Classifications***
generate propnonsouthranney_confed = medranneynonsouth_confed / medranneyall
*
generate propsouthranney_confed = medranneysouth_confed / medranneyall
*
generate propoldsouthranney_confed = medranneyoldsouth_confed / medranneyall



***Missouri Classifications***
generate propnonsouthranney_mo = medranneynonsouth_mo / medranneyall
*
generate propsouthranney_mo = medranneysouth_mo / medranneyall
*
generate propoldsouthranney_mo = medranneyoldsouth_mo / medranneyall





***HVD ALTERNATE FOR SI DOC***








egen medhvdall = median(hvd), by(year)

egen medhvdnonsouth = median(hvd) if nonsouth==1, by(year) 


egen medhvdsouth = median(hvd) if nonsouth==0, by(year) 


egen medhvdoldsouth = median(hvd) if oldsouth==1, by(year) 

egen medhvdnewsouth = median(hvd) if newsouth==1, by(year) 



***CORRELATIONS OF HVD WITH MANUSCRIPT***


***All States***

cor medranneyall medhvdall if inrange(year,1971,2010)

cor medranneyall medhvdall if inrange(year,1971,1980)

cor medranneyall medhvdall if inrange(year,1981,2010)



***Non Southern States***

cor medranneynonsouth medhvdnonsouth if inrange(year,1971,2010)

cor medranneynonsouth medhvdnonsouth if inrange(year,1971,1980)

cor medranneynonsouth medhvdnonsouth if inrange(year,1981,2010)

***Southern States***
cor medranneysouth medhvdsouth if inrange(year,1971,2010)

cor medranneysouth medhvdsouth if inrange(year,1971,1980)

cor medranneysouth medhvdsouth if inrange(year,1981,2010)

***New Southern States***
cor medranneynewsouth medhvdnewsouth if inrange(year,1971,2010)

cor medranneynewsouth medhvdnewsouth if inrange(year,1971,1980)

cor medranneynewsouth medhvdnewsouth if inrange(year,1981,2010)

***Old Southern States***
cor medranneyoldsouth medhvdoldsouth if inrange(year,1971,2010)

cor medranneyoldsouth medhvdoldsouth if inrange(year,1971,1980)

cor medranneyoldsouth medhvdoldsouth if inrange(year,1981,2010)








//FIGURE 1D

generate propnonsouthhvd = medhvdnonsouth / medhvdall
*
generate propsouthhvd = medhvdsouth / medhvdall
*
generate propoldsouthhvd = medhvdoldsouth / medhvdall
*
generate propnewsouthhvd = medhvdnewsouth / medhvdall


twoway (tsline propnonsouthhvd if year>1941, lcolor(blue) lwidth(medthick)) (tsline propsouthhvd if year>1941, lcolor(maroon) lwidth(medthick)) (tsline propoldsouthhvd if year>1941, lcolor(midblue) lwidth(medthick) lpattern(shortdash)) (tsline propnewsouthhvd if year>1941, lcolor(orange) lwidth(medthick) lpattern(shortdash)), yline(1, lwidth(vvthick) lpattern(vshortdash) lcolor(ltblue)) ylabel(0(0.5)1.5) ymtick(, grid) xtitle(YEAR, height(6)) xlabel(1940(10)2010) title(FIGURE 1D) subtitle(Median Proportion of Electoral Competitionin State Legislatures By Region, size(small)) note(Note: Median Proportion = 1.0 (All States)) legend(on) name(figure_1d, replace)


graph save figure_1d "C:\Users\mzarit\Dropbox\Development Cycles in the American States (Krause & Zarit)\Zarit Findings\Graphs\figure_1d.gph", replace




****Statistics for SI Document****

*** Correlating Per Capita State Personal Income by Classifications***





/////////////////////////////////////////////////////////////////////////////


//Statistics for page 5 of the paper
summarize propoldsouthrinc if oldsouth==1 & year==1942

summarize propoldsouthrinc if oldsouth==1 & year==2006


summarize propsouthrinc if nonsouth==0 & year==1942

summarize propsouthrinc if nonsouth==0 & year==2006


summarize propnonsouthranney if nonsouth==1 & year==1942, detail

summarize propsouthranney if nonsouth==0 & year==1942, detail



summarize propnonsouthranney if nonsouth==1 & year==1965, detail

summarize propsouthranney if nonsouth==0 & year==1965, detail


summarize propnonsouthranney if nonsouth==1 & year==1981, detail

summarize propsouthranney if nonsouth==0 & year==1981, detail



summarize propnonsouthranney if nonsouth==1 & year==2008, detail

summarize propsouthranney if nonsouth==0 & year==2008, detail


summarize propnonsouthranney if nonsouth==1 & year==2010, detail

summarize propsouthranney if nonsouth==0 & year==2010, detail



*****************
**Statistics for SI Document Alternate South Specifications**

***nonsouth***
summarize medrincnonsouth if nonsouth==1 & year==1942

summarize medrincnonsouth if nonsouth==1 & year==1965

summarize medrincnonsouth if nonsouth==1 & year==1980

summarize medrincnonsouth if nonsouth==1 & year==2008

summarize medrincnonsouth_census if nonsouth_census==1 & year==1942

summarize medrincnonsouth_census if nonsouth_census==1 & year==1965

summarize medrincnonsouth_census if nonsouth_census==1 & year==1980

summarize medrincnonsouth_census if nonsouth_census==1 & year==2008

summarize medrincnonsouth_confed if nonsouth_confed==1 & year==1942

summarize medrincnonsouth_confed if nonsouth_confed==1 & year==1965

summarize medrincnonsouth_confed if nonsouth_confed==1 & year==1980

summarize medrincnonsouth_confed if nonsouth_confed==1 & year==2008


summarize medrincnonsouth_mo if nonsouth_mo==1 & year==1942

summarize medrincnonsouth_mo if nonsouth_mo==1 & year==1965

summarize medrincnonsouth_mo if nonsouth_mo==1 & year==1980

summarize medrincnonsouth_mo if nonsouth_mo==1 & year==2008


summarize medrincnonsouth_deep if nonsouth_deep==1 & year==1942

summarize medrincnonsouth_deep if nonsouth_deep==1 & year==1965

summarize medrincnonsouth_deep if nonsouth_deep==1 & year==1980

summarize medrincnonsouth_deep if nonsouth_deep==1 & year==2008




***all south***

summarize medrincsouth if nonsouth==0 & year==1942

summarize medrincsouth if nonsouth==0 & year==1965

summarize medrincsouth if nonsouth==0 & year==1980

summarize medrincsouth if nonsouth==0 & year==2008

summarize medrincsouth_census if nonsouth_census==0 & year==1942

summarize medrincsouth_census if nonsouth_census==0 & year==1965

summarize medrincsouth_census if nonsouth_census==0 & year==1980

summarize medrincsouth_census if nonsouth_census==0 & year==2008

summarize medrincsouth_confed if nonsouth_confed==0 & year==1942

summarize medrincsouth_confed if nonsouth_confed==0 & year==1965

summarize medrincsouth_confed if nonsouth_confed==0 & year==1980

summarize medrincsouth_confed if nonsouth_confed==0 & year==2008




summarize medrincsouth_mo if nonsouth_mo==0 & year==1942

summarize medrincsouth_mo if nonsouth_mo==0 & year==1965

summarize medrincsouth_mo if nonsouth_mo==0 & year==1980

summarize medrincsouth_mo if nonsouth_mo==0 & year==2008


summarize medrincsouth_deep if nonsouth_deep==0 & year==1942

summarize medrincsouth_deep if nonsouth_deep==0 & year==1965

summarize medrincsouth_deep if nonsouth_deep==0 & year==1980

summarize medrincsouth_deep if nonsouth_deep==0 & year==2008





***new south***

summarize medrincnewsouth if newsouth==1 & year==1942

summarize medrincnewsouth if newsouth==1 & year==1965

summarize medrincnewsouth if newsouth==1 & year==1980

summarize medrincnewsouth if newsouth==1 & year==2008

summarize medrincnewsouth_census if newsouth==1 & year==1942

summarize medrincnewsouth_census if newsouth==1 & year==1965

summarize medrincnewsouth_census if newsouth==1 & year==1980

summarize medrincnewsouth_census if newsouth==1 & year==2008


summarize medrincnewsouth_deep if newsouth_deep==1 & year==1942

summarize medrincnewsouth_deep if newsouth_deep==1 & year==1965

summarize medrincnewsouth_deep if newsouth_deep==1 & year==1980

summarize medrincnewsouth_deep if newsouth_deep==1 & year==2008





***old south***

summarize medrincoldsouth if oldsouth==1 & year==1942

summarize medrincoldsouth if oldsouth==1 & year==1965

summarize medrincoldsouth if oldsouth==1 & year==1980

summarize medrincoldsouth if oldsouth==1 & year==2008

summarize medrincoldsouth_confed if oldsouth_confed==1 & year==1942

summarize medrincoldsouth_confed if oldsouth_confed==1 & year==1965

summarize medrincoldsouth_confed if oldsouth_confed==1 & year==1980

summarize medrincoldsouth_confed if oldsouth_confed==1 & year==2008




summarize medrincoldsouth_mo if oldsouth_mo==1 & year==1942

summarize medrincoldsouth_mo if oldsouth_mo==1 & year==1965

summarize medrincoldsouth_mo if oldsouth_mo==1 & year==1980

summarize medrincoldsouth_mo if oldsouth_mo==1 & year==2008




summarize medrincoldsouth_deep if oldsouth_deep==1 & year==1942

summarize medrincoldsouth_deep if oldsouth_deep==1 & year==1965

summarize medrincoldsouth_deep if oldsouth_deep==1 & year==1980

summarize medrincoldsouth_deep if oldsouth_deep==1 & year==2008



***Median Partisan Competition***

***nonsouth***
summarize medranneynonsouth if nonsouth==1 & year==1942

summarize medranneynonsouth if nonsouth==1 & year==1965

summarize medranneynonsouth if nonsouth==1 & year==1980

summarize medranneynonsouth if nonsouth==1 & year==2008

summarize medranneynonsouth_census if nonsouth_census==1 & year==1942

summarize medranneynonsouth_census if nonsouth_census==1 & year==1965

summarize medranneynonsouth_census if nonsouth_census==1 & year==1980

summarize medranneynonsouth_census if nonsouth_census==1 & year==2008

summarize medranneynonsouth_confed if nonsouth_confed==1 & year==1942

summarize medranneynonsouth_confed if nonsouth_confed==1 & year==1965

summarize medranneynonsouth_confed if nonsouth_confed==1 & year==1980

summarize medranneynonsouth_confed if nonsouth_confed==1 & year==2008



summarize medranneynonsouth_mo if nonsouth_mo==1 & year==1942

summarize medranneynonsouth_mo if nonsouth_mo==1 & year==1965

summarize medranneynonsouth_mo if nonsouth_mo==1 & year==1980

summarize medranneynonsouth_mo if nonsouth_mo==1 & year==2008



summarize medranneynonsouth_deep if nonsouth_deep==1 & year==1942

summarize medranneynonsouth_deep if nonsouth_deep==1 & year==1965

summarize medranneynonsouth_deep if nonsouth_deep==1 & year==1980

summarize medranneynonsouth_deep if nonsouth_deep==1 & year==2008



***south***

summarize medranneysouth if nonsouth==0 & year==1942

summarize medranneysouth if nonsouth==0 & year==1965

summarize medranneysouth if nonsouth==0 & year==1980

summarize medranneysouth if nonsouth==0 & year==2008

summarize medranneysouth_census if nonsouth_census==0 & year==1942

summarize medranneysouth_census if nonsouth_census==0 & year==1965

summarize medranneysouth_census if nonsouth_census==0 & year==1980

summarize medranneysouth_census if nonsouth_census==0 & year==2008

summarize medranneysouth_confed if nonsouth_confed==0 & year==1942

summarize medranneysouth_confed if nonsouth_confed==0 & year==1965

summarize medranneysouth_confed if nonsouth_confed==0 & year==1980

summarize medranneysouth_confed if nonsouth_confed==0 & year==2008


summarize medranneysouth_mo if nonsouth_mo==0 & year==1942

summarize medranneysouth_mo if nonsouth_mo==0 & year==1965

summarize medranneysouth_mo if nonsouth_mo==0 & year==1980

summarize medranneysouth_mo if nonsouth_mo==0 & year==2008



summarize medranneysouth_deep if nonsouth_deep==0 & year==1942

summarize medranneysouth_deep if nonsouth_deep==0 & year==1965

summarize medranneysouth_deep if nonsouth_deep==0 & year==1980

summarize medranneysouth_deep if nonsouth_deep==0 & year==2008



***new south***

summarize medranneynewsouth if newsouth==1 & year==1942

summarize medranneynewsouth if newsouth==1 & year==1965

summarize medranneynewsouth if newsouth==1 & year==1980

summarize medranneynewsouth if newsouth==1 & year==2008

summarize medranneynewsouth_census if newsouth_census==1 & year==1942

summarize medranneynewsouth_census if newsouth_census==1 & year==1965

summarize medranneynewsouth_census if newsouth_census==1 & year==1980

summarize medranneynewsouth_census if newsouth_census==1 & year==2008



summarize medranneynewsouth_deep if newsouth_deep==1 & year==1942

summarize medranneynewsouth_deep if newsouth_deep==1 & year==1965

summarize medranneynewsouth_deep if newsouth_deep==1 & year==1980

summarize medranneynewsouth_deep if newsouth_deep==1 & year==2008



***old south***

summarize medranneyoldsouth if oldsouth==1 & year==1942

summarize medranneyoldsouth if oldsouth==1 & year==1965

summarize medranneyoldsouth if oldsouth==1 & year==1980

summarize medranneyoldsouth if oldsouth==1 & year==2008

summarize medranneyoldsouth_confed if oldsouth_confed==1 & year==1942

summarize medranneyoldsouth_confed if oldsouth_confed==1 & year==1965

summarize medranneyoldsouth_confed if oldsouth_confed==1 & year==1980

summarize medranneyoldsouth_confed if oldsouth_confed==1 & year==2008



summarize medranneyoldsouth_mo if oldsouth_mo==1 & year==1942

summarize medranneyoldsouth_mo if oldsouth_mo==1 & year==1965

summarize medranneyoldsouth_mo if oldsouth_mo==1 & year==1980

summarize medranneyoldsouth_mo if oldsouth_mo==1 & year==2008




summarize medranneyoldsouth_deep if oldsouth_deep==1 & year==1942

summarize medranneyoldsouth_deep if oldsouth_deep==1 & year==1965

summarize medranneyoldsouth_deep if oldsouth_deep==1 & year==1980

summarize medranneyoldsouth_deep if oldsouth_deep==1 & year==2008




***********Median Proportion of Income***********

***Non-South***
summarize propnonsouthrinc if nonsouth==1 & year==1942

summarize propnonsouthrinc_census if nonsouth_census==1 & year==1942

summarize propnonsouthrinc_confed if nonsouth_confed==1 & year==1942

summarize propnonsouthrinc_mo if nonsouth_mo==1 & year==1942


summarize propnonsouthrinc if nonsouth==1 & year==1965

summarize propnonsouthrinc_census if nonsouth_census==1 & year==1965

summarize propnonsouthrinc_confed if nonsouth_confed==1 & year==1965

summarize propnonsouthrinc_mo if nonsouth_mo==1 & year==1965



summarize propnonsouthrinc if nonsouth==1 & year==1980

summarize propnonsouthrinc_census if nonsouth_census==1 & year==1980

summarize propnonsouthrinc_confed if nonsouth_confed==1 & year==1980

summarize propnonsouthrinc_mo if nonsouth_mo==1 & year==1980



summarize propnonsouthrinc if nonsouth==1 & year==2008

summarize propnonsouthrinc_census if nonsouth_census==1 & year==2008

summarize propnonsouthrinc_confed if nonsouth_confed==1 & year==2008

summarize propnonsouthrinc_mo if nonsouth_mo==1 & year==2008



***Southern States***

summarize propsouthrinc if nonsouth==0 & year==1942

summarize propsouthrinc_census if nonsouth_census==0 & year==1942

summarize propsouthrinc_confed if nonsouth_confed==0 & year==1942

summarize propsouthrinc_mo if nonsouth_mo==0 & year==1942




summarize propsouthrinc if nonsouth==0 & year==1965

summarize propsouthrinc_census if nonsouth_census==0 & year==1965

summarize propsouthrinc_confed if nonsouth_confed==0 & year==1965

summarize propsouthrinc_mo if nonsouth_mo==0 & year==1965


summarize propsouthrinc if nonsouth==0 & year==1980

summarize propsouthrinc_census if nonsouth_census==0 & year==1980

summarize propsouthrinc_confed if nonsouth_confed==0 & year==1980

summarize propsouthrinc_mo if nonsouth_mo==0 & year==1980



summarize propsouthrinc if nonsouth==0 & year==2008

summarize propsouthrinc_census if nonsouth_census==0 & year==2008

summarize propsouthrinc_confed if nonsouth_confed==0 & year==2008

summarize propsouthrinc_mo if nonsouth_mo==0 & year==2008


**** New Southern States****

summarize propnewsouthrinc if newsouth==1 & year==1942

summarize propnewsouthrinc_census if newsouth_census==1 & year==1942


summarize propnewsouthrinc if newsouth==1 & year==1965

summarize propnewsouthrinc_census if newsouth_census==1 & year==1965


summarize propnewsouthrinc if newsouth==1 & year==1980

summarize propnewsouthrinc_census if newsouth_census==1 & year==1980


summarize propnewsouthrinc if newsouth==1 & year==2008

summarize propnewsouthrinc_census if newsouth_census==1 & year==2008


**** Old Southern States***

summarize propoldsouthrinc if oldsouth==1 & year==1942

summarize propoldsouthrinc_confed if oldsouth_confed==1 & year==1942

summarize propoldsouthrinc_mo if oldsouth_mo==1 & year==1942



summarize propoldsouthrinc if oldsouth==1 & year==1965

summarize propoldsouthrinc_confed if oldsouth_confed==1 & year==1965

summarize propoldsouthrinc_mo if oldsouth_mo==1 & year==1965



summarize propoldsouthrinc if oldsouth==1 & year==1980

summarize propoldsouthrinc_confed if oldsouth_confed==1 & year==1980

summarize propoldsouthrinc_mo if oldsouth_mo==1 & year==1980



summarize propoldsouthrinc if oldsouth==1 & year==2008

summarize propoldsouthrinc_confed if oldsouth_confed==1 & year==2008

summarize propoldsouthrinc_mo if oldsouth_mo==1 & year==2008




******Figure 1D Comparisons by Classification********

***Non-South***

summarize propnonsouthranney if nonsouth==1 & year==1942

summarize propnonsouthranney_census if nonsouth_census==1 & year==1942

summarize propnonsouthranney_confed if nonsouth_confed==1 & year==1942

summarize propnonsouthranney_mo if nonsouth_mo==1 & year==1942



summarize propnonsouthranney if nonsouth==1 & year==1965

summarize propnonsouthranney_census if nonsouth_census==1 & year==1965

summarize propnonsouthranney_confed if nonsouth_confed==1 & year==1965

summarize propnonsouthranney_mo if nonsouth_mo==1 & year==1965




summarize propnonsouthranney if nonsouth==1 & year==1980

summarize propnonsouthranney_census if nonsouth_census==1 & year==1980

summarize propnonsouthranney_confed if nonsouth_confed==1 & year==1980

summarize propnonsouthranney_mo if nonsouth_mo==1 & year==1980




summarize propnonsouthranney if nonsouth==1 & year==2008

summarize propnonsouthranney_census if nonsouth_census==1 & year==2008

summarize propnonsouthranney_confed if nonsouth_confed==1 & year==2008

summarize propnonsouthranney_mo if nonsouth_mo==1 & year==2008



***Southern States***
summarize propsouthranney if nonsouth==0 & year==1942

summarize propsouthranney_census if nonsouth_census==0 & year==1942

summarize propsouthranney_confed if nonsouth_confed==0 & year==1942

summarize propsouthranney_mo if nonsouth_mo==0 & year==1942




summarize propsouthranney if nonsouth==0 & year==1965

summarize propsouthranney_census if nonsouth_census==0 & year==1965

summarize propsouthranney_confed if nonsouth_confed==0 & year==1965

summarize propsouthranney_mo if nonsouth_mo==0 & year==1965



summarize propsouthranney if nonsouth==0 & year==1980

summarize propsouthranney_census if nonsouth_census==0 & year==1980

summarize propsouthranney_confed if nonsouth_confed==0 & year==1980

summarize propsouthranney_mo if nonsouth_mo==0 & year==1980



summarize propsouthranney if nonsouth==0 & year==2008

summarize propsouthranney_census if nonsouth_census==0 & year==2008

summarize propsouthranney_confed if nonsouth_confed==0 & year==2008

summarize propsouthranney_mo if nonsouth_mo==0 & year==2008



***New South***

summarize propnewsouthranney if newsouth==1 & year==1942

summarize propnewsouthranney_census if newsouth==1 & year==1942


summarize propnewsouthranney if newsouth==1 & year==1965

summarize propnewsouthranney_census if newsouth==1 & year==1965


summarize propnewsouthranney if newsouth==1 & year==1980

summarize propnewsouthranney_census if newsouth==1 & year==1980


summarize propnewsouthranney if newsouth==1 & year==2008

summarize propnewsouthranney_census if newsouth==1 & year==2008


*** Old South***

summarize propoldsouthranney if oldsouth==1 & year==1942

summarize propoldsouthranney_confed if oldsouth_confed==1 & year==1942

summarize propoldsouthranney_mo if oldsouth_mo==1 & year==1942




summarize propoldsouthranney if oldsouth==1 & year==1965

summarize propoldsouthranney_confed if oldsouth_confed==1 & year==1965

summarize propoldsouthranney_mo if oldsouth_mo==1 & year==1965


summarize propoldsouthranney if oldsouth==1 & year==1980

summarize propoldsouthranney_confed if oldsouth_confed==1 & year==1980

summarize propoldsouthranney_mo if oldsouth_mo==1 & year==1980



summarize propoldsouthranney if oldsouth==1 & year==2008

summarize propoldsouthranney_confed if oldsouth_confed==1 & year==2008

summarize propoldsouthranney_mo if oldsouth_mo==1 & year==2008



****Deep South + deep South***

****Medians of Census Southern Classifications Real Income***

gen nonsouth_deep = nonsouth

replace nonsouth_deep = 1 if state_abrev=="KY"

replace nonsouth_deep = 1 if state_abrev=="OK"

replace nonsouth_deep = 1 if state_abrev=="WV"


gen newsouth_deep = 0

replace newsouth_deep = 1 if state_abrev=="AR"

replace newsouth_deep = 1 if state_abrev=="NC"

replace newsouth_deep = 1 if state_abrev=="TN"

replace newsouth_deep = 1 if state_abrev=="VA"


gen oldsouth_deep = 0

replace oldsouth_deep = 1 if state_abrev=="AL"

replace oldsouth_deep = 1 if state_abrev=="FL"

replace oldsouth_deep = 1 if state_abrev=="GA"

replace oldsouth_deep = 1 if state_abrev=="LA"

replace oldsouth_deep = 1 if state_abrev=="MS"

replace oldsouth_deep = 1 if state_abrev=="SC"

replace oldsouth_deep = 1 if state_abrev=="TX"



egen medrincnonsouth_deep = median(real_pc_inc_ann) if nonsouth_deep==1, by(year) 


egen medrincsouth_deep = median(real_pc_inc_ann) if nonsouth_deep==0, by(year) 


egen medrincnewsouth_deep = median(real_pc_inc_ann) if newsouth_deep==1, by(year) 


egen medrincoldsouth_deep = median(real_pc_inc_ann) if oldsouth_deep==1, by(year) 


//FIGURE 1A
twoway (tsline medrincall if year>1941, lcolor(magenta) lwidth(medthick) lpattern(longdash_dot_dot)) (tsline medrincnonsouth_deep if year>1941, lcolor(blue) lwidth(medthick)) (tsline medrincsouth_deep if year>1941, lcolor(maroon) lwidth(medthick)) (tsline medrincoldsouth_deep if year>1941, lcolor(midblue) lwidth(medthick) lpattern(shortdash)) (tsline medrincnewsouth_deep if year>1941, lcolor(orange) lwidth(medthick) lpattern(shortdash)), ylabel(0(10000)20000) ymtick(5000(10000)15000, grid) xtitle(YEAR, height(6)) xlabel(1940(10)2010) title(FIGURE SI-6.15 (Deep South)) subtitle(Real Per Capita State Personal Income By Region (1942-2010), size(medium)) note(Note: 1982-1984 Constant Dollars) legend(on) name(figure_1a, replace)



****Correlations Between Reported and Census Classifications, Real Income 1942 - 2010***
***ALL SOUTHERN***

cor medrincsouth medrincsouth_deep

cor medrincsouth medrincsouth_deep if year <1981 

cor medrincsouth medrincsouth_deep if year >1980


***NEW SOUTH**

cor medrincnewsouth medrincnewsouth_deep

cor medrincnewsouth medrincnewsouth_deep if year <1981 

cor medrincnewsouth medrincnewsouth_deep if year >1980


***OLD SOUTH***

cor medrincoldsouth medrincoldsouth_deep if oldsouth==1

cor medrincoldsouth medrincoldsouth_deep if year <1981

cor medrincoldsouth medrincoldsouth_deep if year >1980






***DEEP SOUTH VERSION***

egen medranneynonsouth_deep = median(klarnerranney) if nonsouth_deep==1, by(year)

egen medranneysouth_deep = median(klarnerranney) if nonsouth_deep==0, by(year) 


egen medranneynewsouth_deep = median(klarnerranney) if newsouth_deep==1, by(year) 

egen medranneyoldsouth_deep = median(klarnerranney) if oldsouth_deep==1, by(year) 




//FIGURE 1B

twoway (tsline medranneyall if year>1941, lcolor(magenta) lwidth(medthick) lpattern(longdash_shortdash)) (tsline medranneynonsouth_deep if year>1941, lcolor(blue) lwidth(medthick)) (tsline medranneysouth_deep if year>1941, lcolor(maroon) lwidth(medthick)) (tsline medranneyoldsouth_deep if year>1941, lcolor(midblue) lwidth(medthick) lpattern(shortdash)) (tsline medranneynewsouth_deep if year>1941, lcolor(orange) lwidth(medthick) lpattern(shortdash)), ylabel(0(20)100) ymtick(, grid) xtitle(YEAR, height(6)) xlabel(1940(10)2010) title(FIGURE SI-6.16 (Deep South)) subtitle(Ranney Index of Partisan Legislative Balance in State Legislatures by Region (1942-2010), size(small)) note(Note: Ranney Index (0 - 100)) legend(on) name(figure_1b, replace)


****Correlations Between Reported and Census Classifications, Political Competition***

***ALL SOUTHERN***

cor medranneysouth medranneysouth_deep

cor medranneysouth medranneysouth_deep if nonsouth==0

cor medranneysouth medranneysouth_deep if nonsouth==0


***NEW SOUTH***


cor medranneynewsouth medranneynewsouth_deep

cor medranneynewsouth medranneynewsouth_deep if year<1981

cor medranneynewsouth medranneynewsouth_deep if year>1980



***OLD SOUTH***

cor medranneyoldsouth medranneyoldsouth_deep if oldsouth==1

cor medranneyoldsouth medranneyoldsouth_deep if year<1981

cor medranneyoldsouth medranneyoldsouth_deep if year>1980




//FIGURE 1C



generate propnonsouthrinc_deep = medrincnonsouth_deep / medrincall
*
generate propsouthrinc_deep = medrincsouth_deep / medrincall
*
generate propoldsouthrinc_deep = medrincoldsouth_deep / medrincall
*
generate propnewsouthrinc_deep = medrincnewsouth_deep / medrincall


twoway (tsline propnonsouthrinc_deep if year>1941, lcolor(blue) lwidth(medthick)) (tsline propsouthrinc_deep if year>1941, lcolor(maroon) lwidth(medthick)) (tsline propoldsouthrinc_deep if year>1941, lcolor(midblue) lwidth(medthick) lpattern(shortdash)) (tsline propnewsouthrinc_deep if year>1941, lcolor(orange) lwidth(medthick) lpattern(shortdash)), yline(1, lwidth(vvthick) lpattern(vshortdash) lcolor(ltblue)) ylabel(0.6(0.2)1.2) ymtick(, grid) xtitle(YEAR, height(6)) xlabel(1940(10)2010) title(FIGURE SI-6.17 (Deep South)) subtitle(Median Proportion of Real Per Capita State Personal Income By Region (1942-2008), size(small)) note(Note: Median Proportion = 1.0 (All States)) legend(on) name(figure_1c, replace)




//FIGURE 1D

generate propnonsouthranney_deep = medranneynonsouth_deep / medranneyall
*
generate propsouthranney_deep = medranneysouth_deep / medranneyall
*
generate propoldsouthranney_deep = medranneyoldsouth_deep / medranneyall
*
generate propnewsouthranney_deep = medranneynewsouth_deep / medranneyall


twoway (tsline propnonsouthranney_deep if year>1941, lcolor(blue) lwidth(medthick)) (tsline propsouthranney_deep if year>1941, lcolor(maroon) lwidth(medthick)) (tsline propoldsouthranney_deep if year>1941, lcolor(midblue) lwidth(medthick) lpattern(shortdash)) (tsline propnewsouthranney_deep if year>1941, lcolor(orange) lwidth(medthick) lpattern(shortdash)), yline(1, lwidth(vvthick) lpattern(vshortdash) lcolor(ltblue)) ylabel(0(0.5)1.5) ymtick(, grid) xtitle(YEAR, height(6)) xlabel(1940(10)2010) title(FIGURE SI-6.18 (Deep South)) subtitle(Median Proportion of Partisan Legislative Balance in State Legislatures By Region, size(small)) note(Note: Median Proportion = 1.0 (All States)) legend(on) name(figure_1d, replace)







******************************************************************************
******************************************************************************
******************************************************************************
***Supporting Information Document***
**** KERNEL DENSITY PLOTS****

**SI-1A

kdensity klarnerranney if nonsouth==0 & year<1967, addplot (kdensity klarnerranney if nonsouth==0 & inrange(year,1967,1980) || kdensity klarnerranney if nonsouth==0 & year>=1981) legend(label(1 "Pre-VRA (1942-1966)") label(2 "Post-VRA & Pre-Realignment (1967-1980)") label(3 "Post-Realignment (1981-2010)") title("FIGURE SI-2E.I: Kernel Density Estimate of Partisan Competition") subtitle("Southern States, N = 14"))


**SI-1B

kdensity klarnerranney if newsouth==1 & year<1967, addplot (kdensity klarnerranney if newsouth==1 & inrange(year,1967,1980) || kdensity klarnerranney if newsouth==1 & year>=1981) legend(label(1 "Pre-VRA (1942-1966)") label(2 "Post-VRA & Pre-Realignment (1967-1980)") label(3 "Post-Realignment (1981-2010)")) title("FIGURE SI-2E.II: Kernel Density Estimate of Partisan Competition") subtitle(('New' Southern States, N = 5))

**SI-1C
kdensity klarnerranney if oldsouth==1 & year<1967, addplot (kdensity klarnerranney if oldsouth==1 & inrange(year,1967,1980) || kdensity klarnerranney if oldsouth==1 & year>=1981) legend(label(1 "Pre-VRA (1942-1966)") label(2 "Post-VRA & Pre-Realignment (1967-1980)") label(3 "Post-Realignment (1981-2010)")) title("FIGURE SI-2E.III: Kernel Density Estimate of Partisan Competition") subtitle(('Old' Southern States, N = 9))







